package week7.example;

public class Book {
    protected int pages =  1500;

    //-----------------------------------------------------------------------------------------
    //   Page mutator.
    //-----------------------------------------------------------------------------------------
    public void setPages(int numPages)
    {
        pages = numPages;
    }

    //-----------------------------------------------------------------------------------------------
    //Pages accessor.
    //-----------------------------------------------------------------------------------------------
    public int getPages()
    {
        return pages;
    }
}
